package com.eascs.web.o2o.web.reward.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 *  风险金计提入库实体
 *  @author hzp
 *  @date 2018-04-03
 */
@Entity
@Table(name="dm_reward_risk_amount_extract")
public class RiskAmountVo implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id
	private String id;//
	
	@Column(name = "t_month")
	private String tMonth;//考核月份，表中为varchar类型
	
	@Column(name = "province_name")
	private String provinceName;//
	
	@Column(name = "province_code")
	private String provinceCode;//
	
	@Column(name = "user_no")
	private String userNo;//计提人no
	
	@Column(name = "user_code")
	private String userCode;//计提人工号
	
	@Column(name = "user_name")
	private String userName;//计提人姓名
	
	@Column(name = "bill_code")
	private String billCode;//贷款单号
	
	@Column(name = "operator_no")
	private Integer operatorNo;//信贷经理工号
	
	@Column(name = "operator_name")
	private String operatorName;//信贷经理姓名
	
	@Column(name = "loan_amount")
	private BigDecimal loanAmount;//放款金额
	
	@Column(name = "loan_term")
	private Integer loanTerm;//放款期限
	
	@Column(name = "loan_date")
	private Date loanDate;//放款日期
	
	@Column(name = "expire_date")
	private Date expireDate;//到期日期
	
	@Column(name = "settle_date")
	private Date settleDate;//结清日期
	
	@Column(name = "extract_ratio")
	private BigDecimal extractRatio;//计提比例
	
	@Column(name = "extract_amount")
	private BigDecimal extractAmount;//计提金额
	
	@Column(name = "user_bill_relation")
	private String userBillRelation;//被考核对象与本单关系(包括经办人,推荐人,区域总监,城市总监,省金融总监,省综合总监,省风险总监)
	
	@Column(name = "is_lock")
	private String isLock;//是否锁定
	
	@Column(name = "create_user")
	private String createUser;
	
	@Column(name = "create_date")
	private Date createDate;
	
	@Column(name = "update_user")
	private String updateUser;
	
	@Column(name = "update_date")
	private Date updateDate;
	
	@Column(name = "confirm_user")
	private String confirmUser;
	
	@Column(name = "confirm_date")
	private Date confirmDate;

	@Column(name = "ltd")
	private String ltd;//经营单位ID
	
	@Column(name = "ltd_code")
	private String ltdCode;//经营单位编号
	
	@Column(name = "ltd_name")
	private String ltdName;//经营单位名称
	
	@Column(name = "loaner_name")
	private String loanerName;//借款人姓名
	
	@Column(name = "royalty_coefficient")
	private BigDecimal royaltyCoefficient;//业绩提成系数

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String gettMonth() {
		return tMonth;
	}

	public void settMonth(String tMonth) {
		this.tMonth = tMonth;
	}

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getProvinceCode() {
		return provinceCode;
	}

	public void setProvinceCode(String provinceCode) {
		this.provinceCode = provinceCode;
	}

	public String getUserNo() {
		return userNo;
	}

	public void setUserNo(String userNo) {
		this.userNo = userNo;
	}

	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getBillCode() {
		return billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

	public Integer getOperatorNo() {
		return operatorNo;
	}

	public void setOperatorNo(Integer operatorNo) {
		this.operatorNo = operatorNo;
	}

	public String getOperatorName() {
		return operatorName;
	}

	public void setOperatorName(String operatorName) {
		this.operatorName = operatorName;
	}

	public BigDecimal getLoanAmount() {
		return loanAmount;
	}

	public void setLoanAmount(BigDecimal loanAmount) {
		this.loanAmount = loanAmount;
	}

	public Integer getLoanTerm() {
		return loanTerm;
	}

	public void setLoanTerm(Integer loanTerm) {
		this.loanTerm = loanTerm;
	}

	public Date getLoanDate() {
		return loanDate;
	}

	public void setLoanDate(Date loanDate) {
		this.loanDate = loanDate;
	}

	public Date getExpireDate() {
		return expireDate;
	}

	public void setExpireDate(Date expireDate) {
		this.expireDate = expireDate;
	}

	public Date getSettleDate() {
		return settleDate;
	}

	public void setSettleDate(Date settleDate) {
		this.settleDate = settleDate;
	}

	public BigDecimal getExtractRatio() {
		return extractRatio;
	}

	public void setExtractRatio(BigDecimal extractRatio) {
		this.extractRatio = extractRatio;
	}

	public BigDecimal getExtractAmount() {
		return extractAmount;
	}

	public void setExtractAmount(BigDecimal extractAmount) {
		this.extractAmount = extractAmount;
	}

	public String getUserBillRelation() {
		return userBillRelation;
	}

	public void setUserBillRelation(String userBillRelation) {
		this.userBillRelation = userBillRelation;
	}

	public String getIsLock() {
		return isLock;
	}

	public void setIsLock(String isLock) {
		this.isLock = isLock;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getConfirmUser() {
		return confirmUser;
	}

	public void setConfirmUser(String confirmUser) {
		this.confirmUser = confirmUser;
	}

	public Date getConfirmDate() {
		return confirmDate;
	}

	public void setConfirmDate(Date confirmDate) {
		this.confirmDate = confirmDate;
	}

	public String getLtd() {
		return ltd;
	}

	public void setLtd(String ltd) {
		this.ltd = ltd;
	}

	public String getLtdCode() {
		return ltdCode;
	}

	public void setLtdCode(String ltdCode) {
		this.ltdCode = ltdCode;
	}

	public String getLtdName() {
		return ltdName;
	}

	public void setLtdName(String ltdName) {
		this.ltdName = ltdName;
	}

	public String getLoanerName() {
		return loanerName;
	}

	public void setLoanerName(String loanerName) {
		this.loanerName = loanerName;
	}

	public BigDecimal getRoyaltyCoefficient() {
		return royaltyCoefficient;
	}

	public void setRoyaltyCoefficient(BigDecimal royaltyCoefficient) {
		this.royaltyCoefficient = royaltyCoefficient;
	}
	
	
}